Skip to content

Add WebsetSearchFormatter and entity description support#6

Merged
benjaminjackson merged 1 commit intomainfrom
feature/webset-formatter-entity-description
Dec 4, 2025
Merged

Add WebsetSearchFormatter and entity description support#6
benjaminjackson merged 1 commit intomainfrom
feature/webset-formatter-entity-description

Conversation

@benjaminjackson
Copy link
Copy Markdown
Owner

Summary

  • Create dedicated WebsetSearchFormatter for webset-specific search formatting
  • Add --entity-description flag to import-create command for custom entity types
  • Add comprehensive test coverage for both features

Changes

WebsetSearchFormatter

  • New formatter class for webset search results
  • Supports json, pretty, text, and toon formats
  • Update webset-search-create and webset-search-get commands to use the new formatter
  • Add tests covering all format types and edge cases

Entity Description Support

  • Add --entity-description flag to import-create command
  • Required when using --entity-type custom
  • Validation ensures description is only used with custom types
  • Add comprehensive CLI argument parsing tests

Test Plan

  • Run test suite to verify all tests pass
  • Test webset search formatting with different output formats
  • Test import-create with custom entity type and description
  • Verify validation errors for missing/invalid entity descriptions

🤖 Generated with Claude Code

Add dedicated formatter for webset searches and support custom entity descriptions in import-create.

- Create WebsetSearchFormatter for webset-specific formatting
- Update webset-search-create and webset-search-get to use new formatter
- Add --entity-description flag to import-create for custom entity types
- Add comprehensive tests for both features

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@benjaminjackson benjaminjackson merged commit 2e3d4e7 into main Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant